#ifndef CONNECTIONINFO_H
#define CONNECTIONINFO_H

#include <QDialog>
#include <QModelIndex>
namespace Ui
{
class ConnectionInfo;
}

class ConnectionInfo : public QDialog
{
    Q_OBJECT

public:
    explicit ConnectionInfo(QWidget *parent = 0);
    ~ConnectionInfo();
    void init(int leftdeviceid, int rightdeviceid);
    void initOther(int leftdeviceid, QString desc1, int rightdeviceid, QString desc2);
private slots:
    void on_conn_detail_doubleClicked(const QModelIndex &index);

private:
    Ui::ConnectionInfo *ui;
};

#endif // CONNECTIONINFO_H
